package com.hm.scala.ext

class Parent {

  var age = 0;

  var name = "ssw"

  def doEat(food: String) {
    println("parent eat " + food)
  }

  def surnames(): String = {
    println("姓氏===>wang")
    return "wang";
  }
}